import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    collapse: false,
    user:{}
  },
  getters: {
  },
  mutations: {
    SET_COLLAPSE(state) {
      state.collapse = !state.collapse
    },
    SET_userMut(state,payload){
      state.user=payload
    }
    
  },
  actions: {
  },
  modules: {
  }
})
